//
//  FZHomeDetailCategoryModel.h
//  Pods
//
//  Created by CyonLeuPro on 15/5/19.
//
//

#import "SRBaseModel.h"
#import "MCDefine.h"
#import "MCDownloadManager.h"

@interface FZHomeCourseModel : SRBaseModel<NSCoding>

@property (strong, nonatomic) NSString *identifier;
@property (strong, nonatomic) NSString *title;
@property (strong, nonatomic) NSString *subtitle;
@property (strong, nonatomic) NSString *desc;

@property (strong, nonatomic) NSString *zip;
@property (strong, nonatomic) NSString *audioURL;
@property (strong, nonatomic) NSString *pic;

@property (assign, nonatomic) NSInteger views;
@property (strong, nonatomic) NSString *createTime;
@property (strong, nonatomic) NSString *gradeID;
@property (strong, nonatomic) NSString *gradeName;
/**
 * 是否是vip，1是，0不是
 */
@property (assign, nonatomic) NSInteger isVIP;

@property (strong, nonatomic) NSString *albumID;
@property (assign, nonatomic) NSInteger isAlbum;

@property (assign, nonatomic) NSInteger isCollected;
@property (assign, nonatomic) NSInteger courseNum;
@property (assign, nonatomic) BOOL isSelected;
@property (strong, nonatomic) NSNumber *isNeedBuy;//是否付费专辑 0:否 1:是
//@property (assign, nonatomic) BOOL isDownloaded;//已经下载
@property (assign, nonatomic) MCDownloadState downloadState;//下载状态
@property (assign, nonatomic) CGFloat dowloadProgress;//下载进度
@property (assign, nonatomic) NSInteger lastPageIndex;
@property (strong, nonatomic) NSString *lastPageID;

@property (nonatomic,copy)MCSucessBlock successBlock;
@property (nonatomic,copy)MCFailureBlock failureBlock;
@property (nonatomic,copy)MCProgressBlock progressBlock;
@property (nonatomic,copy)MCDestinationBlock destinationBlock;


@end
